package com.imooc.demo.service;

import com.imooc.demo.entity.Admin;
import com.imooc.demo.entity.Result;

public interface AdminService {
    /**
     * 1.登录
     */
    Result login(Admin user);

    /**
     * 2.根据id查询用户信息
     */
    Admin getAdminById(String id);
}
